import React from "react";

// 导入组件
import Input from './components/Home/Input'
import Swiper from './components/Home/Swiper'
import List from './components/Home/List'
import Advertising from "./components/Home/Advertising";
import Tabbar from './components/classification/Tabbar'


class App extends React.Component {
  constructor(props) { //组件状态进行初始化
    super(props);
    this.state = { //初始化组件状态

    }
  }
  render() {
    return (
      <div className="App">
        {/* 渲染顶部搜索框*/}
        <Input></Input>
        {/* 轮播图 */}
        <Swiper></Swiper>
        {/* 九宫格列表 */}
        <List></List>
        {/* 广告图标 */}
        <Advertising></Advertising>
        {/* 底部按钮 */}
        <Tabbar></Tabbar>
      </div>
    );
  }
}

export default App;
